res = new {
  [name == "Pigeon"]] { age = 42 }
}
